<?php
/**
 * Created by PhpStorm.
 * User: wangj
 * Date: 2020/6/23
 * Time: 16:49
 */
namespace app\village\controller\datacenter;

use app\village\controller\Controller;

/**
 * 房屋管理
 * Class House
 * @package app\village\controller\house
 */
class House extends Controller{
    /**
     * 房屋列表
     * @return mixed
     */
    public function houselist()
    {
//        $model = new CategoryModel;
//        $list = $model->getCacheTree();
//        return $this->fetch('index', compact('list'));
        return $this->fetch('houselist');
    }

    /**
     * 编辑房屋
     * @return mixed
     */
    public function edithouse()
    {
        return $this->fetch('edithouse');
    }

    /**
     * 编辑房屋
     * @return mixed
     */
    public function deletehouse()
    {
        return $this->fetch('index');
    }

    /**
     * 批量上传房间
     * @return mixed
     */
    public function uploadhouse()
    {
        return $this->fetch('uploadhouse');
    }


}